package com.oren.user.Test;

import com.oren.system.service.MenuService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @Author: oren
 * @Description:
 * @Date: Create on 2017/11/8 0008 16:44
 */
@RunWith(SpringJUnit4ClassRunner.class)     //表示继承了SpringJUnit4ClassRunner类
@ContextConfiguration(locations = {"classpath:spring-mybaties.xml"})
public class TreeTest {
	@Autowired
	private MenuService menuService;

	@Test
	public void test()throws Exception{

		menuService.listTreeMenu("1");



	}
}
